package com.tgky.ybzb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tgky.ybzb.entity.result.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: lqj
 * @Date: 2024-07-18
 */

@Data
@ApiModel("任务案例集实体")
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("rwalj")
public class Rwalj extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键id")
    private Integer id;

    @TableField("rwalmc")
    @ApiModelProperty("任务案例集名称")
    private String rwalmc;

    @TableField("jcybjID")
    @ApiModelProperty("任务案例集编号")
    private String jcybjID;

    @TableField("rwcj")
    @ApiModelProperty("任务场景")
    private String rwcj;

    @TableField("rwssdlqy")
    @ApiModelProperty("任务所属地理区域")
    private String rwssdlqy;

    @TableField("rwansl")
    @ApiModelProperty("任务案例数量")
    private Integer rwansl;

    @TableField(exist = false)
    @ApiModelProperty("任务案例参数")
    private Rwal rwal;

    @TableField(exist = false)
    @ApiModelProperty("任务案例列表")
    private List<Rwal> rwalList;

    public Rwalj(String rwalmc, String jcybjID, String rwcj, String rwssdlqy, Integer rwansl) {
        this.rwalmc = rwalmc;
        this.jcybjID = jcybjID;
        this.rwcj = rwcj;
        this.rwssdlqy = rwssdlqy;
        this.rwansl = rwansl;
    }

}
